﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/HRManagerUI/HrManager.Master"
    AutoEventWireup="true" CodeBehind="ApplicationDetails.aspx.cs" Inherits="HRM.UI.HRManagerUI.Profile.ApplicationDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContentBody" runat="server">
    <link href="../../../Styles/ProfilePage/ApplicationDetailsCss.css" rel="stylesheet"
        type="text/css" />
    <table class="headerPart">
        <tr>
            <td>
                Code:<asp:Label runat="server" ID="empCodeLbl"></asp:Label>
            </td>
            <td>
                Name:<asp:Label runat="server" ID="empNameLbl"></asp:Label>
            </td>
            <td>
                Employee Status:<asp:Label runat="server" ID="empStatusLbl"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                Designation:<asp:Label runat="server" ID="empDesignationLbl"></asp:Label>
            </td>
            <td>
                Project:<asp:Label runat="server" ID="empProjectLbl"></asp:Label>
            </td>
            <td>
                Flag:<asp:Label runat="server" ID="appFlagLbl"></asp:Label>
            </td>
        </tr>
    </table>

    <div align="center"> <asp:Label runat="server" ID="msgLbl"></asp:Label></div>
   
    <table width="100%">
        <tr>
            <td >
                 <div>
        <input type="button" id="btnApprove" runat="server" class="approveBtn" value=""
            onserverclick="ApproveLeave" />
        <input type="button" id="btnCancelApplication" runat="server" class="rejectBtn" value="" OnServerClick="IgnoreApp"/>
        <input type="button" id="btnDeleteApplication" runat="server" class="deleteBtn" value="" OnServerClick="DeleteApplication"/>
         <a href="/UI/HRManagerUI/Profile/ReadApplication.aspx" class="Back">
            <input type="button" id="btnBackInbox" runat="server" class="backBtn" value="" /></a>
       
    </div>
            </td>
        </tr>
        <tr>
            <td valign="top" style="width: 70%">
                <table class="messagePart">
                    <tr>
                        <td valign="top">
                           
                            Subject:<asp:Label runat="server" ID="appSubjectLbl"></asp:Label>
                            <hr class="hrapp" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="appMessageLbl" CssClass="appMessageLbl"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
            &nbsp;
            <td>
            </td>
            <td valign="top">
                <table class="employeeLeaveInfoTB">
                    <tr>
                        <td class="nameEmployee">
                            <asp:Label runat="server" ID="empNamelebel"></asp:Label>'s Remaining Leave
                        </td>
                    </tr>
                    <tr>
                        <td class="employeeinfoTd">
                            <table width="100%">
                                <tr>
                                    <td style="width: 70%" align="right">Earn Leave:</td>
                                    <td style="width: 30%" align="left"><asp:Label runat="server" ID="earnLeaveLbl"  
                                            CssClass="status" Font-Bold="True" Width="30px"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 70%" align="right">Casual Leave:</td>
                                    <td style="width: 30%" align="left"><asp:Label runat="server" ID="casualLeaveLbl"  
                                            CssClass="status" Font-Bold="True" Width="30px"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 70%" align="right"> Sick Leave:</td>
                                    <td style="width: 30%" align="left"><asp:Label runat="server" ID="sickLeaveLbl"  
                                            CssClass="status" Font-Bold="True" Width="30px"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 70%" align="right">Other:</td>
                                    <td style="width: 30%" align="left"><asp:Label runat="server" ID="otherLbl"  
                                            CssClass="status" Font-Bold="True" Width="30px"></asp:Label></td>
                                </tr>
                            </table>
                          <br />
                            
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table class="headerPart">
        <tr>
            <td>
                Type:<asp:Label runat="server" ID="leaveTypeLbl"></asp:Label>
            </td>
            <td>
                Status:<asp:Label runat="server" ID="appStatusLbl" CssClass="status"></asp:Label>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                Application Date:<asp:Label runat="server" ID="appDate"></asp:Label>
            </td>
            <td class="style1">
                Leave Start:<asp:Label runat="server" ID="leaveStartlbl"></asp:Label>
            </td>
            <td class="style1">
                Leave End:<asp:Label runat="server" ID="leaveEndLbl"></asp:Label>
            </td>
            <td class="style1">
                Total:<asp:Label runat="server" ID="totalDaysLbl" CssClass="status"></asp:Label>&nbsp;Days
            </td>
        </tr>
    </table>
    <br />
    <div>
        <%-- <input type="button" id="btnBackInbox" runat="server" class="btnCss" value="Back To Inbox">--%>
       
        <%--  </input>--%>
    </div>
</asp:Content>
